package com.windchimes.edueval_platform.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 储存课程信息
 * </p>
 *
 * @author windchimes
 * @since 2025-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    /**
     * 课程邀请码
     */
    private String invitationCode;

    /**
     * 课程名称
     */
    private String name;

    /**
     * 授课教师id
     */
    private Long teacherId;

    /**
     * 学时
     */
    private Integer classHour;

    /**
     * 学分
     */
    private Integer credit;

    /**
     * 课程编码
     */
    private String code;


}
